<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dsolve - Solving Diabetes</title>
<%= stylesheet_link_tag 'scaffold', 'application', 'niftycorners' %>
<%= javascript_include_tag :defaults, 'niftycube' %>
<script type="text/javascript">
    window.onload=function(){
    Nifty("div#livestats","big");
}
</script>
</head>

<body>
    <div id="header" align="center">
        <%= render_partial "layouts/header" %>
    </div>
    
   
    
    <div id="home_logo">
        <img href="http://www.dsolve.org/" src="/images/dsolve_logo_256_shadow.gif" width="256" height="256" />
    </div>
    
    <div id="home_tagline">
        <img src="../images/dsolve_tagline.gif" />
    </div>

    <div id="home_mainbox">
        
        	
        		<!--MAIN-->
        		<div id="mainbox-main">
        			Dsolve is an revolutionary new concept in <a href=".">open-source</a> thinking.  
    				With the advent of diabetic self-testing Dsolve seeks to create an open and free central
    				repository of all that data.  <a href=".">Diabetics</a> will be able to securely enter or upload
    				their blood meter results and use emergent capabilities to analyze those
    				results to solve their diabetes today by achieving normal blood sugars. <a href=".">Doctors</a> will be able to collaborate on results
    				and system recommended solutions in a secure and privacy-protected manner.  
    				And the <a href=".">Medical Research Community</a> will be able to use this ever growing
    				open repository of diabetic data towards researching a cure for diabetes (again in a privacy-protected manner).
    				Dsolve is a central hub for these three communities that each have 
    				unique needs and uses for a repository of diabetic data such as this.  Select the appropriate group below.
        		</div> <!--mainbox-main -->
        		
        		<!--TODO: Createa nice rounded stat box with big black live numbers--replace with Ajax call and RJS to change value on the fly (see entry page) -->
        		<!--<div id="livestats">
        		   	<p style="font-size: 16px;text-align: center"><strong>Live Stats!</strong></p>
                    <p style="font-size: 12px;text-align: center">Avg Blood Glucose of All Dsolve Users:</p>
                    <p style="font-size: 20px;text-align: center">113</p>
                </div>-->
        		
        
        		<!--DIABETICS-->
        		<div id="mainbox-diabetics" style="display:none;">
        		    DIABETIC COPY TBD.... Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
        		    <br>
            	    <a href="#" onclick="return changeBox('main')" style="font-size: 16px;">&#171; back</a>  
        		</div><!--  mainbox-diabetics -->
        
        
        		<!--DOCTORS-->
        
        		<div id="mainbox-doctors" style="display:none;">
        		  DOCTOR COPY TBD.... Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
        		  <br>
            	  <a href="#" onclick="return changeBox('main')" style="font-size: 16px;">&#171; back</a>  
        		</div><!--  mainbox-doctors -->
        
        		<!--RESEARCHERS-->
        
        		<div id="mainbox-researchers" style="display:none;">
        		  RESEARCHER COPY TBD.... Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
        		  <br>
            	  <a href="#" onclick="return changeBox('main')" style="font-size: 16px;">&#171; back</a>  
        		</div>
        
        		
        		<!--DONORS-->
        		<div id="mainbox-donors" style="display:none;">
        		  DONOR COPY TBD.... Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.        		
        		  <br>
            	  <a href="#" onclick="return changeBox('main')" style="font-size: 16px;">&#171; back</a>  
        		</div>
        		
        		<!--LOGIN-->
        		<div id="mainbox-login" style="display:none;">
        		    <%= render :partial => 'login' %>
            	    <a href="#" onclick="return changeBox('main')" style="font-size: 14px;">&#171; back</a>  
        		</div>
        		                
    </div> <!-- mainbox2 -->
	
    
    <div id="home_callouts">
    
        <!-- start containing table -->
        <table width="100%" align="left" cellpadding="0" cellspacing="0" border="0" style="height:100%;">
          
          <!-- start page_bar_top_std -->
          <tr valign="middle" class="bar" >
            <td background="../images/gray_top_bkg.jpg" align="left" height="5">&nbsp;</td>
          </tr>
          <!-- end page_bar_top_std -->
        
                <tr>
                <td align="center" valign="top" colspan="2" style="height:100%">
            	<div id="callouts">
            
            	
            <!-- TODO: Get a graphic designer and create some simple icons for each?   -->
            		<a href="" onclick="return changeBox('diabetics')" id="callout-item-diabetics"><br />
            <img src="/images/callouts/text_diabetics.gif" alt="" /><div class="callout-desc">
            Track, analyze, collaborate and <i>solve</i> your diabetes now.</div>
            
            		</a>
            		<a href="" onclick="return changeBox('doctors')" id="callout-item-doctors"><br />
            <img src="/images/callouts/text_doctors.gif" alt="" />
            <div class="callout-desc"> Collaborate on results and create solutions <i>with</i> your patients.</div>
            
            		</a>
            
            		<a href="" onclick="return changeBox('researchers')" id="callout-item-researchers"><br />
            <img src="/images/callouts/text_researchers.gif" alt="" />
            <div class="callout-desc" style="margin-top:0;"> Conduct ad-hoc, historical, or planned research and capture your data for future reuse and analysis in helping to <i>solve</i> diabetes.
            </div>
            		</a>
            
            		<a href="" onclick="return changeBox('donors')" id="callout-item-donors"><br />
            <img src="/images/callouts/text_donors.gif" alt="" />
            <div class="callout-desc"> Aid Diabetics, Doctors, and Medical Researchers to <i>solve</i> diabetes through your donations.
            </div>
            		</a>	</div>
            </td>
              </tr>
        
        </table>
	
	</div>


    <div id="home_footer">
        <div id="footer"><h5><%= render_partial "layouts/footer" %></h5></div>
    </div>

</body>

</html>
